import request from "@/utils/request";
export function insertMember(data) {
  return request({
    url: "/member-member/insert",
    method: "post",
    data: data
  });
}
export function updateMember(data) {
  return request({
    url: "/member-member/update",
    method: "post",
    data: data
  });
}
export function deleteMember(data) {
  return request({
    url: "/member-member/delete",
    method: "post",
    data: data
  });
}
export function deletesMember(data) {
  return request({
    url: "/member-member/deletes",
    method: "post",
    data: data
  });
}
export function enableMember(data) {
  return request({
    url: "/member-member/enable",
    method: "post",
    data: data
  });
}
export function enablesMember(data) {
  return request({
    url: "/member-member/enables",
    method: "post",
    data: data
  });
}
export function disableMember(data) {
  return request({
    url: "/member-member/disable",
    method: "post",
    data: data
  });
}
export function disablesMember(data) {
  return request({
    url: "/member-member/disables",
    method: "post",
    data: data
  });
}
export function viewMember(params) {
  return request({
    url: "/member-member/view",
    method: "get",
    params: params
  });
}
export function pageMember(params) {
  return request({
    url: "/member-member/page",
    method: "get",
    params: params
  });
}
export function searchMember(params) {
  return request({
    url: "/member-member/search",
    method: "get",
    params: params
  });
}
